package com.team3.project.service;

import java.util.List;

import com.team3.project.exception.LeaveNotFoundException;
import com.team3.project.exception.UserNotFoundException;
import com.team3.project.model.LeaveRecord;
import com.team3.project.model.PublicHolidays;
import com.team3.project.model.Users;

public interface LAPService {
	
	public void save(Users user);
	public void save(LeaveRecord leaveRecord);
	public void save(PublicHolidays publicHolidays);
	public void update(Users user);
	public void update(LeaveRecord leaveRecord) throws LeaveNotFoundException;
	public void update(PublicHolidays publicHolidays);
	public Users findByID(int id) throws UserNotFoundException;
	public LeaveRecord findByrefNO(int refNO) throws LeaveNotFoundException;
	public List<Users> findAllUsers();
	public List<LeaveRecord> findAllLeaveRecords();
	public List<PublicHolidays> findAllPublicHoliday();
	

}
